package com.example.sunmiv1.entity;

import java.util.List;

/**
 * Created by Administrator on 2019-01-24 09:16.
 */

public class PriceQueryBean {

    /**
     * status : 1
     * msg : 查詢成功
     * goodslist : [{"id":"2","good_image":"/Uploads/Goods/2018-08-22/5b7d36001922c.jpg","goods_num":"31.00","goods_code":"","purch_price":"0.01","good_number":"1000005","goods_class_id":"320","goods_name":"洗衣液","retail_price":"0.02","vip_retail_state":"1","agoods_count":"1","can_exchange_weigh":"1","attribute":"2","attributeid":"1,2","skuinfo":[{"name":"顏色","info":[{"id":"1","path":"11","name":"紅色","check":0},{"id":"2","path":"12","name":"藍色","check":0},{"id":"3","path":"13","name":"白色","check":0},{"id":"14","path":"114","name":"紫色","check":0}]},{"name":"尺寸","info":[{"id":"4","path":"24","name":"X","check":0},{"id":"5","path":"25","name":"L","check":0},{"id":"6","path":"26","name":"XL","check":0},{"id":"7","path":"27","name":"XXL","check":0}]}],"skujson":[{"id":"625","goods_id":"2","sku":"紅色,X","sku_res":"11,24","retail_price":"9.90","num":"-5"},{"id":"626","goods_id":"2","sku":"紅色,L","sku_res":"11,25","retail_price":"0.03","num":"2"},{"id":"627","goods_id":"2","sku":"紅色,XL","sku_res":"11,26","retail_price":"0.03","num":"2"},{"id":"628","goods_id":"2","sku":"紅色,XXL","sku_res":"11,27","retail_price":"0.03","num":"59"},{"id":"629","goods_id":"2","sku":"藍色,X","sku_res":"12,24","retail_price":"0.03","num":"7"},{"id":"630","goods_id":"2","sku":"藍色,L","sku_res":"12,25","retail_price":"10.00","num":"17"},{"id":"631","goods_id":"2","sku":"藍色,XL","sku_res":"12,26","retail_price":"0.03","num":"43"}]},{"id":"378","good_image":"","goods_num":"100.00","goods_code":" ","purch_price":"0.01","good_number":"842785","goods_class_id":"1","goods_name":"洗衣液","retail_price":"0.03","vip_retail_state":"1","agoods_count":"1","can_exchange_weigh":"1","attribute":1,"attributeid":"","skuinfo":[],"skujson":[]}]
     * page : 1
     * limit : 10
     * count : 2
     */

    private int status;
    private String msg;
    private String page;
    private String limit;
    private String count;
    private List<GoodslistBean> goodslist;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getLimit() {
        return limit;
    }

    public void setLimit(String limit) {
        this.limit = limit;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public List<GoodslistBean> getGoodslist() {
        return goodslist;
    }

    public void setGoodslist(List<GoodslistBean> goodslist) {
        this.goodslist = goodslist;
    }

    public static class GoodslistBean {
        /**
         * id : 2
         * good_image : /Uploads/Goods/2018-08-22/5b7d36001922c.jpg
         * goods_num : 31.00
         * goods_code :
         * purch_price : 0.01
         * good_number : 1000005
         * goods_class_id : 320
         * goods_name : 洗衣液
         * retail_price : 0.02
         * vip_retail_state : 1
         * agoods_count : 1
         * can_exchange_weigh : 1
         * attribute : 2
         * attributeid : 1,2
         * skuinfo : [{"name":"顏色","info":[{"id":"1","path":"11","name":"紅色","check":0},{"id":"2","path":"12","name":"藍色","check":0},{"id":"3","path":"13","name":"白色","check":0},{"id":"14","path":"114","name":"紫色","check":0}]},{"name":"尺寸","info":[{"id":"4","path":"24","name":"X","check":0},{"id":"5","path":"25","name":"L","check":0},{"id":"6","path":"26","name":"XL","check":0},{"id":"7","path":"27","name":"XXL","check":0}]}]
         * skujson : [{"id":"625","goods_id":"2","sku":"紅色,X","sku_res":"11,24","retail_price":"9.90","num":"-5"},{"id":"626","goods_id":"2","sku":"紅色,L","sku_res":"11,25","retail_price":"0.03","num":"2"},{"id":"627","goods_id":"2","sku":"紅色,XL","sku_res":"11,26","retail_price":"0.03","num":"2"},{"id":"628","goods_id":"2","sku":"紅色,XXL","sku_res":"11,27","retail_price":"0.03","num":"59"},{"id":"629","goods_id":"2","sku":"藍色,X","sku_res":"12,24","retail_price":"0.03","num":"7"},{"id":"630","goods_id":"2","sku":"藍色,L","sku_res":"12,25","retail_price":"10.00","num":"17"},{"id":"631","goods_id":"2","sku":"藍色,XL","sku_res":"12,26","retail_price":"0.03","num":"43"}]
         */

        private String id;
        private String good_image;
        private String goods_num;
        private String goods_code;
        private String purchase_price;
        private String goods_number;
        private String goods_class_id;
        private String goods_name;
        private String retail_price;
        private String vip_retail_state;
        private String agoods_count;
        private String pricing_method;
        private String attribute_state;
        private String attributeid;
        private List<SkuinfoBean> skuinfo;
        private List<SkujsonBean> skujson;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGood_image() {
            return good_image;
        }

        public void setGood_image(String good_image) {
            this.good_image = good_image;
        }

        public String getGoods_num() {
            return goods_num;
        }

        public void setGoods_num(String goods_num) {
            this.goods_num = goods_num;
        }

        public String getGoods_code() {
            return goods_code;
        }

        public void setGoods_code(String goods_code) {
            this.goods_code = goods_code;
        }

        public String getPurchase_price() {
            return purchase_price == null ? "" : purchase_price;
        }

        public void setPurchase_price(String purchase_price) {
            this.purchase_price = purchase_price;
        }

        public String getGoods_number() {
            return goods_number == null ? "" : goods_number;
        }

        public void setGoods_number(String goods_number) {
            this.goods_number = goods_number;
        }

        public String getGoods_class_id() {
            return goods_class_id;
        }

        public void setGoods_class_id(String goods_class_id) {
            this.goods_class_id = goods_class_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getRetail_price() {
            return retail_price;
        }

        public void setRetail_price(String retail_price) {
            this.retail_price = retail_price;
        }

        public String getVip_retail_state() {
            return vip_retail_state;
        }

        public void setVip_retail_state(String vip_retail_state) {
            this.vip_retail_state = vip_retail_state;
        }

        public String getAgoods_count() {
            return agoods_count;
        }

        public void setAgoods_count(String agoods_count) {
            this.agoods_count = agoods_count;
        }

        public String getPricing_method() {
            return pricing_method == null ? "" : pricing_method;
        }

        public void setPricing_method(String pricing_method) {
            this.pricing_method = pricing_method;
        }

        public String getAttribute_state() {
            return attribute_state == null ? "" : attribute_state;
        }

        public void setAttribute_state(String attribute_state) {
            this.attribute_state = attribute_state;
        }

        public String getAttributeid() {
            return attributeid;
        }

        public void setAttributeid(String attributeid) {
            this.attributeid = attributeid;
        }

        public List<SkuinfoBean> getSkuinfo() {
            return skuinfo;
        }

        public void setSkuinfo(List<SkuinfoBean> skuinfo) {
            this.skuinfo = skuinfo;
        }

        public List<SkujsonBean> getSkujson() {
            return skujson;
        }

        public void setSkujson(List<SkujsonBean> skujson) {
            this.skujson = skujson;
        }

        public static class SkuinfoBean {
            /**
             * name : 顏色
             * info : [{"id":"1","path":"11","name":"紅色","check":0},{"id":"2","path":"12","name":"藍色","check":0},{"id":"3","path":"13","name":"白色","check":0},{"id":"14","path":"114","name":"紫色","check":0}]
             */

            private String name;
            private List<InfoBean> info;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<InfoBean> getInfo() {
                return info;
            }

            public void setInfo(List<InfoBean> info) {
                this.info = info;
            }

            public static class InfoBean {
                /**
                 * id : 1
                 * path : 11
                 * name : 紅色
                 * check : 0
                 */

                private String id;
                private String path;
                private String name;
                private int check;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getPath() {
                    return path;
                }

                public void setPath(String path) {
                    this.path = path;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getCheck() {
                    return check;
                }

                public void setCheck(int check) {
                    this.check = check;
                }
            }
        }

        public static class SkujsonBean {
            /**
             * id : 625
             * goods_id : 2
             * sku : 紅色,X
             * sku_res : 11,24
             * retail_price : 9.90
             * num : -5
             */

            private String id;
            private String goods_id;
            private String sku;
            private String sku_res;
            private String retail_price;
            private String num;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getSku() {
                return sku;
            }

            public void setSku(String sku) {
                this.sku = sku;
            }

            public String getSku_res() {
                return sku_res;
            }

            public void setSku_res(String sku_res) {
                this.sku_res = sku_res;
            }

            public String getRetail_price() {
                return retail_price;
            }

            public void setRetail_price(String retail_price) {
                this.retail_price = retail_price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }
        }
    }
}
